class clockwork :
    def __init__ ( self , mediator , datetime ) :
        self . _mediator = mediator
        self . _datetime = datetime
    def current_time_request ( self ) :
        now = self . _datetime . datetime . now ( )
        time = '%02i.%02i.%02i-%02i:%02i' % \
            ( now . year % 100
            , now . month
            , now . day
            , now . hour
            , now . minute
            )
        self . _mediator . current_time_reply ( time )
